\(\int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx\) [196]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F(-2)]
   Mupad [F(-1)]

Optimal result

Integrand size = 29, antiderivative size = 292 \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=-\frac {4 a b x \sqrt {-1+c x} \sqrt {1+c x}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {40 b^2 (1-c x) (1+c x)}{27 c^4 \sqrt {d-c^2 d x^2}}-\frac {2 b^2 x^2 (1-c x) (1+c x)}{27 c^2 \sqrt {d-c^2 d x^2}}-\frac {4 b^2 x \sqrt {-1+c x} \sqrt {1+c x} \text {arccosh}(c x)}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {2 b x^3 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^4 d}-\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d} \]

[Out]

-40/27*b^2*(-c*x+1)*(c*x+1)/c^4/(-c^2*d*x^2+d)^(1/2)-2/27*b^2*x^2*(-c*x+1)*(c*x+1)/c^2/(-c^2*d*x^2+d)^(1/2)-4/
3*a*b*x*(c*x-1)^(1/2)*(c*x+1)^(1/2)/c^3/(-c^2*d*x^2+d)^(1/2)-4/3*b^2*x*arccosh(c*x)*(c*x-1)^(1/2)*(c*x+1)^(1/2
)/c^3/(-c^2*d*x^2+d)^(1/2)-2/9*b*x^3*(a+b*arccosh(c*x))*(c*x-1)^(1/2)*(c*x+1)^(1/2)/c/(-c^2*d*x^2+d)^(1/2)-2/3
*(a+b*arccosh(c*x))^2*(-c^2*d*x^2+d)^(1/2)/c^4/d-1/3*x^2*(a+b*arccosh(c*x))^2*(-c^2*d*x^2+d)^(1/2)/c^2/d

Rubi [A] (verified)

Time = 0.24 (sec) , antiderivative size = 292, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.241, Rules used = {5938, 5914, 5879, 75, 5883, 102, 12} \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=-\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}-\frac {2 b x^3 \sqrt {c x-1} \sqrt {c x+1} (a+b \text {arccosh}(c x))}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^4 d}-\frac {4 a b x \sqrt {c x-1} \sqrt {c x+1}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {4 b^2 x \sqrt {c x-1} \sqrt {c x+1} \text {arccosh}(c x)}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {2 b^2 x^2 (1-c x) (c x+1)}{27 c^2 \sqrt {d-c^2 d x^2}}-\frac {40 b^2 (1-c x) (c x+1)}{27 c^4 \sqrt {d-c^2 d x^2}} \]

[In]

Int[(x^3*(a + b*ArcCosh[c*x])^2)/Sqrt[d - c^2*d*x^2],x]

[Out]

(-4*a*b*x*Sqrt[-1 + c*x]*Sqrt[1 + c*x])/(3*c^3*Sqrt[d - c^2*d*x^2]) - (40*b^2*(1 - c*x)*(1 + c*x))/(27*c^4*Sqr
t[d - c^2*d*x^2]) - (2*b^2*x^2*(1 - c*x)*(1 + c*x))/(27*c^2*Sqrt[d - c^2*d*x^2]) - (4*b^2*x*Sqrt[-1 + c*x]*Sqr
t[1 + c*x]*ArcCosh[c*x])/(3*c^3*Sqrt[d - c^2*d*x^2]) - (2*b*x^3*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(a + b*ArcCosh[c*
x]))/(9*c*Sqrt[d - c^2*d*x^2]) - (2*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x])^2)/(3*c^4*d) - (x^2*Sqrt[d - c^2*
d*x^2]*(a + b*ArcCosh[c*x])^2)/(3*c^2*d)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 75

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[b*(c + d*x)^
(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 2))), x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2, 0] &
& EqQ[a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)), 0]

Rule 102

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[b*(a +
b*x)^(m - 1)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d*f*(m + n + p + 1))), x] + Dist[1/(d*f*(m + n + p + 1)), I
nt[(a + b*x)^(m - 2)*(c + d*x)^n*(e + f*x)^p*Simp[a^2*d*f*(m + n + p + 1) - b*(b*c*e*(m - 1) + a*(d*e*(n + 1)
+ c*f*(p + 1))) + b*(a*d*f*(2*m + n + p) - b*(d*e*(m + n) + c*f*(m + p)))*x, x], x], x] /; FreeQ[{a, b, c, d,
e, f, n, p}, x] && GtQ[m, 1] && NeQ[m + n + p + 1, 0] && IntegerQ[m]

Rule 5879

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcCosh[c*x])^n, x] - Dist[b*c*n, In
t[x*((a + b*ArcCosh[c*x])^(n - 1)/(Sqrt[1 + c*x]*Sqrt[-1 + c*x])), x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rule 5883

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcC
osh[c*x])^n/(d*(m + 1))), x] - Dist[b*c*(n/(d*(m + 1))), Int[(d*x)^(m + 1)*((a + b*ArcCosh[c*x])^(n - 1)/(Sqrt
[1 + c*x]*Sqrt[-1 + c*x])), x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]

Rule 5914

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(d + e*x^2)^
(p + 1)*((a + b*ArcCosh[c*x])^n/(2*e*(p + 1))), x] - Dist[b*(n/(2*c*(p + 1)))*Simp[(d + e*x^2)^p/((1 + c*x)^p*
(-1 + c*x)^p)], Int[(1 + c*x)^(p + 1/2)*(-1 + c*x)^(p + 1/2)*(a + b*ArcCosh[c*x])^(n - 1), x], x] /; FreeQ[{a,
 b, c, d, e, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && NeQ[p, -1]

Rule 5938

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> Simp[
f*(f*x)^(m - 1)*(d + e*x^2)^(p + 1)*((a + b*ArcCosh[c*x])^n/(e*(m + 2*p + 1))), x] + (Dist[f^2*((m - 1)/(c^2*(
m + 2*p + 1))), Int[(f*x)^(m - 2)*(d + e*x^2)^p*(a + b*ArcCosh[c*x])^n, x], x] - Dist[b*f*(n/(c*(m + 2*p + 1))
)*Simp[(d + e*x^2)^p/((1 + c*x)^p*(-1 + c*x)^p)], Int[(f*x)^(m - 1)*(1 + c*x)^(p + 1/2)*(-1 + c*x)^(p + 1/2)*(
a + b*ArcCosh[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e, f, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && I
GtQ[m, 1] && NeQ[m + 2*p + 1, 0]

Rubi steps \begin{align*} \text {integral}& = -\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}+\frac {2 \int \frac {x (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx}{3 c^2}-\frac {\left (2 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x^2 (a+b \text {arccosh}(c x)) \, dx}{3 c \sqrt {d-c^2 d x^2}} \\ & = -\frac {2 b x^3 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^4 d}-\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}+\frac {\left (2 b^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^3}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{9 \sqrt {d-c^2 d x^2}}-\frac {\left (4 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int (a+b \text {arccosh}(c x)) \, dx}{3 c^3 \sqrt {d-c^2 d x^2}} \\ & = -\frac {4 a b x \sqrt {-1+c x} \sqrt {1+c x}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {2 b^2 x^2 (1-c x) (1+c x)}{27 c^2 \sqrt {d-c^2 d x^2}}-\frac {2 b x^3 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^4 d}-\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}-\frac {\left (4 b^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \text {arccosh}(c x) \, dx}{3 c^3 \sqrt {d-c^2 d x^2}}+\frac {\left (2 b^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {2 x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{27 c^2 \sqrt {d-c^2 d x^2}} \\ & = -\frac {4 a b x \sqrt {-1+c x} \sqrt {1+c x}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {2 b^2 x^2 (1-c x) (1+c x)}{27 c^2 \sqrt {d-c^2 d x^2}}-\frac {4 b^2 x \sqrt {-1+c x} \sqrt {1+c x} \text {arccosh}(c x)}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {2 b x^3 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^4 d}-\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d}+\frac {\left (4 b^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{27 c^2 \sqrt {d-c^2 d x^2}}+\frac {\left (4 b^2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 c^2 \sqrt {d-c^2 d x^2}} \\ & = -\frac {4 a b x \sqrt {-1+c x} \sqrt {1+c x}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {40 b^2 (1-c x) (1+c x)}{27 c^4 \sqrt {d-c^2 d x^2}}-\frac {2 b^2 x^2 (1-c x) (1+c x)}{27 c^2 \sqrt {d-c^2 d x^2}}-\frac {4 b^2 x \sqrt {-1+c x} \sqrt {1+c x} \text {arccosh}(c x)}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {2 b x^3 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^4 d}-\frac {x^2 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{3 c^2 d} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.43 (sec) , antiderivative size = 201, normalized size of antiderivative = 0.69 \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=\frac {\sqrt {d-c^2 d x^2} \left (6 a b c x \sqrt {-1+c x} \sqrt {1+c x} \left (6+c^2 x^2\right )-9 a^2 \left (-2+c^2 x^2+c^4 x^4\right )-2 b^2 \left (-20+19 c^2 x^2+c^4 x^4\right )+6 b \left (b c x \sqrt {-1+c x} \sqrt {1+c x} \left (6+c^2 x^2\right )-3 a \left (-2+c^2 x^2+c^4 x^4\right )\right ) \text {arccosh}(c x)-9 b^2 \left (-2+c^2 x^2+c^4 x^4\right ) \text {arccosh}(c x)^2\right )}{27 c^4 d (-1+c x) (1+c x)} \]

[In]

Integrate[(x^3*(a + b*ArcCosh[c*x])^2)/Sqrt[d - c^2*d*x^2],x]

[Out]

(Sqrt[d - c^2*d*x^2]*(6*a*b*c*x*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(6 + c^2*x^2) - 9*a^2*(-2 + c^2*x^2 + c^4*x^4) -
2*b^2*(-20 + 19*c^2*x^2 + c^4*x^4) + 6*b*(b*c*x*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(6 + c^2*x^2) - 3*a*(-2 + c^2*x^2
 + c^4*x^4))*ArcCosh[c*x] - 9*b^2*(-2 + c^2*x^2 + c^4*x^4)*ArcCosh[c*x]^2))/(27*c^4*d*(-1 + c*x)*(1 + c*x))

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(751\) vs. \(2(252)=504\).

Time = 0.94 (sec) , antiderivative size = 752, normalized size of antiderivative = 2.58

method result size
default \(a^{2} \left (-\frac {x^{2} \sqrt {-c^{2} d \,x^{2}+d}}{3 c^{2} d}-\frac {2 \sqrt {-c^{2} d \,x^{2}+d}}{3 d \,c^{4}}\right )+b^{2} \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}-6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}-2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}+2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}+6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 c^{4} d \left (c^{2} x^{2}-1\right )}\right )+2 a b \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 c^{4} d \left (c^{2} x^{2}-1\right )}\right )\) \(752\)
parts \(a^{2} \left (-\frac {x^{2} \sqrt {-c^{2} d \,x^{2}+d}}{3 c^{2} d}-\frac {2 \sqrt {-c^{2} d \,x^{2}+d}}{3 d \,c^{4}}\right )+b^{2} \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}-6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}-2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (\operatorname {arccosh}\left (c x \right )^{2}+2 \,\operatorname {arccosh}\left (c x \right )+2\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (9 \operatorname {arccosh}\left (c x \right )^{2}+6 \,\operatorname {arccosh}\left (c x \right )+2\right )}{216 c^{4} d \left (c^{2} x^{2}-1\right )}\right )+2 a b \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{72 c^{4} d \left (c^{2} x^{2}-1\right )}\right )\) \(752\)

[In]

int(x^3*(a+b*arccosh(c*x))^2/(-c^2*d*x^2+d)^(1/2),x,method=_RETURNVERBOSE)

[Out]

a^2*(-1/3*x^2/c^2/d*(-c^2*d*x^2+d)^(1/2)-2/3/d/c^4*(-c^2*d*x^2+d)^(1/2))+b^2*(-1/216*(-d*(c^2*x^2-1))^(1/2)*(4
*c^4*x^4-5*c^2*x^2+4*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3-3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+1)*(9*arccosh(c*x)^
2-6*arccosh(c*x)+2)/c^4/d/(c^2*x^2-1)-3/8*(-d*(c^2*x^2-1))^(1/2)*((c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(
arccosh(c*x)^2-2*arccosh(c*x)+2)/c^4/d/(c^2*x^2-1)-3/8*(-d*(c^2*x^2-1))^(1/2)*(-(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*
x+c^2*x^2-1)*(arccosh(c*x)^2+2*arccosh(c*x)+2)/c^4/d/(c^2*x^2-1)-1/216*(-d*(c^2*x^2-1))^(1/2)*(-4*(c*x-1)^(1/2
)*(c*x+1)^(1/2)*c^3*x^3+4*c^4*x^4+3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x-5*c^2*x^2+1)*(9*arccosh(c*x)^2+6*arccosh(c
*x)+2)/c^4/d/(c^2*x^2-1))+2*a*b*(-1/72*(-d*(c^2*x^2-1))^(1/2)*(4*c^4*x^4-5*c^2*x^2+4*(c*x-1)^(1/2)*(c*x+1)^(1/
2)*c^3*x^3-3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+1)*(-1+3*arccosh(c*x))/c^4/d/(c^2*x^2-1)-3/8*(-d*(c^2*x^2-1))^(1/
2)*((c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(-1+arccosh(c*x))/c^4/d/(c^2*x^2-1)-3/8*(-d*(c^2*x^2-1))^(1/2)*
(-(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(1+arccosh(c*x))/c^4/d/(c^2*x^2-1)-1/72*(-d*(c^2*x^2-1))^(1/2)*(-
4*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3+4*c^4*x^4+3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x-5*c^2*x^2+1)*(1+3*arccosh(c*
x))/c^4/d/(c^2*x^2-1))

Fricas [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 282, normalized size of antiderivative = 0.97 \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=-\frac {9 \, {\left (b^{2} c^{4} x^{4} + b^{2} c^{2} x^{2} - 2 \, b^{2}\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right )^{2} - 6 \, {\left (a b c^{3} x^{3} + 6 \, a b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} - 6 \, {\left ({\left (b^{2} c^{3} x^{3} + 6 \, b^{2} c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} - 3 \, {\left (a b c^{4} x^{4} + a b c^{2} x^{2} - 2 \, a b\right )} \sqrt {-c^{2} d x^{2} + d}\right )} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left ({\left (9 \, a^{2} + 2 \, b^{2}\right )} c^{4} x^{4} + {\left (9 \, a^{2} + 38 \, b^{2}\right )} c^{2} x^{2} - 18 \, a^{2} - 40 \, b^{2}\right )} \sqrt {-c^{2} d x^{2} + d}}{27 \, {\left (c^{6} d x^{2} - c^{4} d\right )}} \]

[In]

integrate(x^3*(a+b*arccosh(c*x))^2/(-c^2*d*x^2+d)^(1/2),x, algorithm="fricas")

[Out]

-1/27*(9*(b^2*c^4*x^4 + b^2*c^2*x^2 - 2*b^2)*sqrt(-c^2*d*x^2 + d)*log(c*x + sqrt(c^2*x^2 - 1))^2 - 6*(a*b*c^3*
x^3 + 6*a*b*c*x)*sqrt(-c^2*d*x^2 + d)*sqrt(c^2*x^2 - 1) - 6*((b^2*c^3*x^3 + 6*b^2*c*x)*sqrt(-c^2*d*x^2 + d)*sq
rt(c^2*x^2 - 1) - 3*(a*b*c^4*x^4 + a*b*c^2*x^2 - 2*a*b)*sqrt(-c^2*d*x^2 + d))*log(c*x + sqrt(c^2*x^2 - 1)) + (
(9*a^2 + 2*b^2)*c^4*x^4 + (9*a^2 + 38*b^2)*c^2*x^2 - 18*a^2 - 40*b^2)*sqrt(-c^2*d*x^2 + d))/(c^6*d*x^2 - c^4*d
)

Sympy [F]

\[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=\int \frac {x^{3} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}}{\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \]

[In]

integrate(x**3*(a+b*acosh(c*x))**2/(-c**2*d*x**2+d)**(1/2),x)

[Out]

Integral(x**3*(a + b*acosh(c*x))**2/sqrt(-d*(c*x - 1)*(c*x + 1)), x)

Maxima [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 279, normalized size of antiderivative = 0.96 \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=-\frac {1}{3} \, b^{2} {\left (\frac {\sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{2} d} + \frac {2 \, \sqrt {-c^{2} d x^{2} + d}}{c^{4} d}\right )} \operatorname {arcosh}\left (c x\right )^{2} - \frac {2}{3} \, a b {\left (\frac {\sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{2} d} + \frac {2 \, \sqrt {-c^{2} d x^{2} + d}}{c^{4} d}\right )} \operatorname {arcosh}\left (c x\right ) - \frac {1}{3} \, a^{2} {\left (\frac {\sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{2} d} + \frac {2 \, \sqrt {-c^{2} d x^{2} + d}}{c^{4} d}\right )} - \frac {2}{27} \, b^{2} {\left (\frac {\sqrt {c^{2} x^{2} - 1} \sqrt {-d} x^{2} + \frac {20 \, \sqrt {c^{2} x^{2} - 1} \sqrt {-d}}{c^{2}}}{c^{2} d} - \frac {3 \, {\left (c^{2} \sqrt {-d} x^{3} + 6 \, \sqrt {-d} x\right )} \operatorname {arcosh}\left (c x\right )}{c^{3} d}\right )} + \frac {2 \, {\left (c^{2} \sqrt {-d} x^{3} + 6 \, \sqrt {-d} x\right )} a b}{9 \, c^{3} d} \]

[In]

integrate(x^3*(a+b*arccosh(c*x))^2/(-c^2*d*x^2+d)^(1/2),x, algorithm="maxima")

[Out]

-1/3*b^2*(sqrt(-c^2*d*x^2 + d)*x^2/(c^2*d) + 2*sqrt(-c^2*d*x^2 + d)/(c^4*d))*arccosh(c*x)^2 - 2/3*a*b*(sqrt(-c
^2*d*x^2 + d)*x^2/(c^2*d) + 2*sqrt(-c^2*d*x^2 + d)/(c^4*d))*arccosh(c*x) - 1/3*a^2*(sqrt(-c^2*d*x^2 + d)*x^2/(
c^2*d) + 2*sqrt(-c^2*d*x^2 + d)/(c^4*d)) - 2/27*b^2*((sqrt(c^2*x^2 - 1)*sqrt(-d)*x^2 + 20*sqrt(c^2*x^2 - 1)*sq
rt(-d)/c^2)/(c^2*d) - 3*(c^2*sqrt(-d)*x^3 + 6*sqrt(-d)*x)*arccosh(c*x)/(c^3*d)) + 2/9*(c^2*sqrt(-d)*x^3 + 6*sq
rt(-d)*x)*a*b/(c^3*d)

Giac [F(-2)]

Exception generated. \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(x^3*(a+b*arccosh(c*x))^2/(-c^2*d*x^2+d)^(1/2),x, algorithm="giac")

[Out]

Exception raised: TypeError >> an error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

Mupad [F(-1)]

Timed out. \[ \int \frac {x^3 (a+b \text {arccosh}(c x))^2}{\sqrt {d-c^2 d x^2}} \, dx=\int \frac {x^3\,{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2}{\sqrt {d-c^2\,d\,x^2}} \,d x \]

[In]

int((x^3*(a + b*acosh(c*x))^2)/(d - c^2*d*x^2)^(1/2),x)

[Out]

int((x^3*(a + b*acosh(c*x))^2)/(d - c^2*d*x^2)^(1/2), x)